<div class="panel panel-default panel-intro">
    
    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            {foreach name="statusList" item="vo"}
            <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
            {/foreach}
        </ul>
    </div>


    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <!--<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('work/warranty/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('work/warranty/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        --><a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('work/warranty/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a href="javascript:;" class="btn btn-success btn-export {:$auth->check('work/warranty/export')?'':'hide'} " title="{:__('Export')}" id="btn-export-file"><i class="fa fa-download"></i> {:__('Export')}</a>


                        <!-- <div class="dropdown btn-group {:$auth->check('work/warranty/multi')?'':'hide'}">
                             <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                             <ul class="dropdown-menu text-left" role="menu">
                                 <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                 <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                             </ul>
                         </div>-->

                        <a href="javascript:;" class="btn btn-default" style="font-size:14px;color:dodgerblue;">
                            <i class="fa fa-dollar"></i>
                            <span class="extend">
                                成交价：<span id="final_price_sum">0</span>
                                利润：<span id="profit_sum">0</span>
                                应收账款：<span id="receivable_sum">0</span>
                            </span>
                        </a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('work/warranty/edit')}"
                           data-operate-del="{:$auth->check('work/warranty/del')}"
                           data-operate-add_image="{:$auth->check('work/offer/add')}"
                           data-operate-loss="{:$auth->check('work/warranty/loss')}"
                           data-operate-comm="{:$auth->check('work/warranty/comm')}"
                           data-operate-see="{:$auth->check('work/warranty/see')}"
                           data-operate-appoint="{:$auth->check('work/warranty/appoint')}"
                           data-operate-appoint2="{:$auth->check('work/warranty/appoint2')}"
                           data-operate-final2="{:$auth->check('work/warranty/final2')}"
                           data-operate-final="{:$auth->check('work/warranty/final')}"
                           data-operate-billing="{:$auth->check('work/warranty/billing')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
